home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 November / macformat-043.iso / mac / Shareware Plus / Developers / OpenStack Rinaldi Collection / openstack-rinaldi-lib / GlobalMaster 1.0 (US) / GlobalMaster 1.0 (US).rsrc / HELP_5635 next >
Encoding:
Text File  |  1996-01-09  |  2.0 KB  |  55 lines

  1.  
  2.  
  3.                                     GlobalMaster stack 1.0
  4.  
  5.                                         by Frédéric RINALDI
  6.  
  7.  
  8.    This stack contains two XCMDs which allow to easily purge all global variables created by the stack. They work only with HyperCard 2.0.
  9.  
  10.  
  11.                                    SaveCurrentGlobals 1.0
  12.  
  13. DESCRIPTION
  14.    SaveCurrentGlobals saves the list of current active globals.
  15.  
  16. SYNTAX
  17.                                         SaveCurrentGlobals
  18.  
  19. PARAMETERS
  20.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  21.  
  22. USING
  23.    SaveCurrentGlobals must appear in the "on openStack" handler before any global variable setting. 
  24.    The XCMD creates a global named GlobalVarsList which will be used later by ClearStackGlobals XCMD.
  25.  
  26. ERRORS
  27.    If an error occurs, SaveCurrentGlobals can return :
  28.      "Error : Out of Memory"
  29.  
  30.  
  31.                                      ClearStackGlobals 1.0
  32.  
  33.  
  34. DESCRIPTION
  35.    ClearStackGlobals purges all global variables created since call to SaveStackGlobals.
  36.  
  37. SYNTAX
  38.                                            ClearStackGlobals
  39.  
  40. PARAMETERS
  41.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  42.  
  43. USING
  44.    ClearStackGlobals will generally be located in the "on closeStack" handler.
  45.    The XCMD uses the global variable GlobalVarsList created earlier by SaveCurrentGlobals to find globals that must be cleared.
  46. --------------------------------------------------------------------
  47.    All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  48.  
  49.                    SaveCurrentGlobals & ClearStackGlobals XCMDs,
  50.                             © Frederic Rinaldi, 1989…1993.
  51.  
  52.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  53.  
  54. AppleLink: RINALDI1   CalvaCom : FR10    Compuserve : 71170,2111
  55.                Internet : RINALDI1@APPLELINK@APPLE.COM